package com.example.service;

import java.util.List;

import com.example.model.User;
import com.example.model.query.UserExample;
import com.example.service.UserService;

/**
 * Created on 2017/12/26 18:50
 */
public interface UserService {


    User selectByPrimaryKey(Long id);

    List<User> selectByExample(UserExample q);


    Object insert(User t);

	Object insertSelective(User t);


    Object updateByPrimaryKey(User t);

	Object updateByPrimaryKeySelective(User t);

	Object updateByExample(User t, UserExample q);

	Object updateByExampleSelective(User t, UserExample q);

	Long countByExample(UserExample q);


    Integer deleteByPrimaryKey(Long id);

	Integer deleteByExample(UserExample q);

}
